<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>edit_entry</title>
</head>
<body>
    {% extends "learning_logsss/base.html" %}
    {% block content %}
        <p><a href="{% url 'learning_logsss:topic' topic.id%}">{{ topic }}</a></p>
        <p>Edit entry:</p>
        <form action="{% url 'learning_logsss:edit_entry' entry.id %}" method='post'>
            {% csrf_token %}
            {{ form.as_p }}
            <button name="submit">保存</button>
        </form>
    {% endblock %}

</body>
</html>